/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.risk.service.api;


import com.koron.common.domain.DataBean;
import com.koron.risk.bean.CorpBean;

import java.util.List;
import java.util.Map;

import org.springframework.web.multipart.MultipartFile;
import org.swan.bean.MessageBean;

import com.koron.common.bean.StaffBean;

public interface CorpManagementService {
	MessageBean<DataBean<CorpBean>> corpList(Integer page, Integer pageSize, List<String> excludeFilter);

	MessageBean<?> openCorp(String corpCode,String corpName,StaffBean user);

	MessageBean<Integer> update(CorpBean corpBean, MultipartFile[] files, String keepAddress, String delAddress);

	List<CorpBean> corpBeanList();

	MessageBean<CorpBean> getOne(String code);

	MessageBean<DataBean<CorpBean>> corpOutOfDistrict(Integer page, Integer pageSize);

	/**
	 * 查询水司信息
	 * @return
	 */
	List<Map> queryCorpMsg();

	/**
	 * 根据水司code 获取水司 总经理、董事长、安全部负责人 信息
	 * @param corpCode
	 * @return
	 */
	MessageBean queryPerMsgByCorp(String corpCode);
}
